package com.ruicar.afs.cloud.product.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruicar.afs.cloud.product.entity.ProductImplementePlan;
import com.ruicar.afs.cloud.product.mapper.ProductImplementePlanMapper;
import com.ruicar.afs.cloud.product.service.ProductImplementePlanService;
import com.ruicar.afs.cloud.product.vo.ProductImplementePlanVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author changyu.gui
 * @version 1.0
 * @date 2020/5/27 15:30
 */
@Service
public class ProductImplementePlanServiceImpl extends ServiceImpl<ProductImplementePlanMapper, ProductImplementePlan> implements ProductImplementePlanService {
    @Override
    public IPage<List<ProductImplementePlanVo>> queryPlanImplementeList(Page page, Long id) {
        return this.baseMapper.queryPlanImplementeList(page,id);
    }
    @Override
    public List<ProductImplementePlanVo> queryPlanImplementeList(Long id) {
        return this.baseMapper.queryPlanImplementeList(id);
    }
}
